using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class GridDetailController : MonoBehaviour
{
    public Image image;
    public RectTransform rectTransform;
    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        Vector2 mousePostion = Input.mousePosition;
        mousePostion = mousePostion - new Vector2(-60,50);
        rectTransform.position = mousePostion;
        
    }
}
